<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class RepositoryServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        // 政务信息
        $this->app->bind(
            \App\Repositories\Contracts\GovernmentInfoRepository::class,
            \App\Repositories\Impl\GovernmentInfoRepositoryImpl::class
        );
        // 系统key
        $this->app->bind(
            \App\Repositories\Contracts\SystemModuleInfoRepository::class,
            \App\Repositories\Impl\SystemModuleInfoRepositoryImpl::class
        );
        // 文化之声
        $this->app->bind(
            \App\Repositories\Contracts\CultureVoiceRepository::class,
            \App\Repositories\Impl\CultureVoiceRepositoryImpl::class
        );
        // 精彩直播
        $this->app->bind(
            \App\Repositories\Contracts\LiveRepository::class,
            \App\Repositories\Impl\LiveRepositoryImpl::class
        );
        // 点播
        $this->app->bind(
            \App\Repositories\Contracts\VideoRepository::class,
            \App\Repositories\Impl\VideoRepositoryImpl::class
        );
        // 资讯
        $this->app->bind(
            \App\Repositories\Contracts\NewsRepository::class,
            \App\Repositories\Impl\NewsRepositoryImpl::class
        );
        // 非遗展示
        $this->app->bind(
            \App\Repositories\Contracts\CulturalHeritageRepository::class,
            \App\Repositories\Impl\CulturalHeritageRepositoryImpl::class
        );
        // 非遗类型表
        $this->app->bind(
            \App\Repositories\Contracts\CulturalHeritageTypeRepository::class,
            \App\Repositories\Impl\CulturalHeritageTypeRepositoryImpl::class
        );
        // 场馆
        $this->app->bind(
            \App\Repositories\Contracts\VenueRepository::class,
            \App\Repositories\Impl\VenueRepositoryImpl::class
        );
        // 场馆预约日期
        $this->app->bind(
            \App\Repositories\Contracts\MeetDayRepository::class,
            \App\Repositories\Impl\MeetDayRepositoryImpl::class
        );
        // 场馆预约日期小时
        $this->app->bind(
            \App\Repositories\Contracts\MeetHourRepository::class,
            \App\Repositories\Impl\MeetHourRepositoryImpl::class
        );
        // 用户
        $this->app->bind(
            \App\Repositories\Contracts\UserRepository::class,
            \App\Repositories\Impl\UserRepositoryImpl::class
        );
        // 场馆预约人
        $this->app->bind(
            \App\Repositories\Contracts\MeetPersonRepository::class,
            \App\Repositories\Impl\MeetPersonRepositoryImpl::class
        );
        // 场馆预约审核表
        $this->app->bind(
            \App\Repositories\Contracts\MeetOrderRepository::class,
            \App\Repositories\Impl\MeetOrderRepositoryImpl::class
        );
        // 活动表
        $this->app->bind(
            \App\Repositories\Contracts\ActivityRepository::class,
            \App\Repositories\Impl\ActivityRepositoryImpl::class
        );
        // 活动报名表
        $this->app->bind(
            \App\Repositories\Contracts\ActivityFormRepository::class,
            \App\Repositories\Impl\ActivityFormRepositoryImpl::class
        );
        // 志愿活动表
        $this->app->bind(
            \App\Repositories\Contracts\VolunteerActivityRepository::class,
            \App\Repositories\Impl\VolunteerActivityRepositoryImpl::class
        );
        // 志愿活动报名表
        $this->app->bind(
            \App\Repositories\Contracts\VolunteerFormRepository::class,
            \App\Repositories\Impl\VolunteerFormRepositoryImpl::class
        );
        // 分馆
        $this->app->bind(
            \App\Repositories\Contracts\BranchRepository::class,
            \App\Repositories\Impl\BranchRepositoryImpl::class
        );
        // 分馆
        $this->app->bind(
            \App\Repositories\Contracts\BranchInfoRepository::class,
            \App\Repositories\Impl\BranchInfoRepositoryImpl::class
        );
        // 审核日志
        $this->app->bind(
            \App\Repositories\Contracts\OrderAuditLogRepository::class,
            \App\Repositories\Impl\OrderAuditLogRepositoryImpl::class
        );
        //:end-bindings:
    }
}
